/* ==========================================================================
   FEMME MEDIALE — REUSABLE COMPONENTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BUTTON SYSTEM
   Modern, refined, subtle hover movement, clear specific copy
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  padding: 0.875rem 1.625rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform var(--duration-fast) var(--ease-editorial),
              box-shadow var(--duration-fast) var(--ease-editorial),
              background-color var(--duration-fast) ease,
              color var(--duration-fast) ease,
              border-color var(--duration-fast) ease;
  white-space: nowrap;
  position: relative;
  user-select: none;
}

.btn svg {
  transition: transform var(--duration-fast) var(--ease-editorial);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Primary: Magenta */
.btn-primary {
  background-color: var(--color-accent-magenta);
  color: #FFFFFF;
  box-shadow: 0 4px 14px -2px rgba(209, 50, 130, 0.32);
}

.btn-primary:hover {
  background-color: var(--color-accent-magenta-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -2px rgba(209, 50, 130, 0.42);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary: Dark Neutral */
.btn-secondary {
  background-color: var(--color-text-primary);
  color: var(--color-bg-primary);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  background-color: #3e3518;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* Accent: Purple */
.btn-accent {
  background-color: var(--color-accent-purple);
  color: #FFFFFF;
  box-shadow: 0 4px 14px -2px rgba(142, 65, 180, 0.28);
}

.btn-accent:hover {
  background-color: var(--color-accent-purple-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px -2px rgba(142, 65, 180, 0.38);
}

/* Outline: Editorial */
.btn-outline {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid var(--color-text-primary);
}

.btn-outline:hover {
  background-color: var(--color-text-primary);
  color: var(--color-bg-primary);
  transform: translateY(-2px);
}

.btn-outline-magenta {
  background-color: transparent;
  color: var(--color-accent-magenta);
  border: 1.5px solid var(--color-accent-magenta);
}

.btn-outline-magenta:hover {
  background-color: var(--color-accent-magenta);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Button Sizes */
.btn-sm {
  padding: 0.625rem 1.125rem;
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: 1.05rem 2rem;
  font-size: var(--font-size-base);
}

/* Text Link with animated underline */
.btn-text {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-primary);
  background: none;
  border: none;
  padding: var(--space-4) 0;
  position: relative;
  cursor: pointer;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background-color: var(--color-accent-magenta);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform var(--duration-fast) var(--ease-editorial);
}

.btn-text:hover::after {
  transform: scaleX(1);
}

.btn-text svg {
  transition: transform var(--duration-fast) var(--ease-editorial);
}

.btn-text:hover svg {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   2. CARD SYSTEM
   Depth, soft shadows, controlled borders, non-SaaS proportions
   -------------------------------------------------------------------------- */
.card-editorial {
  background-color: var(--color-surface-white);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-normal) var(--ease-editorial),
              box-shadow var(--duration-normal) var(--ease-editorial),
              border-color var(--duration-normal) ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-editorial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(82, 71, 36, 0.2);
}

/* Layered card with offset accent backplate */
.card-layered {
  position: relative;
}

.card-layered::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-surface-tinted);
  border-radius: var(--radius-md);
  transform: translate(8px, 8px);
  z-index: 0;
  border: 1px solid var(--color-border-subtle);
  transition: transform var(--duration-normal) var(--ease-editorial);
}

.card-layered:hover::before {
  transform: translate(12px, 12px);
}

.card-layered > * {
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   3. BADGES & PILLS
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wide);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-pill);
  line-height: 1;
  width: fit-content;
}

.badge-magenta {
  background-color: var(--color-accent-magenta-subtle);
  color: var(--color-accent-magenta);
}

.badge-purple {
  background-color: var(--color-accent-purple-subtle);
  color: var(--color-accent-purple);
}

.badge-neutral {
  background-color: rgba(82, 71, 36, 0.08);
  color: var(--color-text-primary);
}

/* --------------------------------------------------------------------------
   4. NAVIGATION & HEADER
   Editorial, clean, sticky, responsive drawer
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  background-color: rgba(255, 251, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border-subtle);
  transition: background-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 20px -2px rgba(82, 71, 36, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  text-decoration: none;
}

.brand-link .brand-signet-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
  position: relative;
  top: -5px; /* Optically centered with Title Case wordmark and navigation items */
  transition: transform var(--duration-fast) var(--ease-editorial);
  display: block;
}

.brand-link:hover .brand-signet-img {
  transform: scale(1.05);
}

.brand-wordmark {
  font-family: var(--font-body);
  font-size: 1.1875rem;
  font-weight: 500; /* Poppins Medium */
  letter-spacing: -0.015em; /* Refined, slightly reduced letter spacing */
  color: var(--color-text-primary);
  text-transform: none; /* Do NOT use all caps */
  line-height: 1;
  white-space: nowrap;
  transition: color var(--duration-fast) ease;
}

.brand-link:hover .brand-wordmark {
  color: var(--color-text-primary);
}

.brand-link .brand-logo-img {
  height: 22px;
  width: auto;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: none;
  position: relative;
  padding: var(--space-8) 0;
  transition: color var(--duration-fast) ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-magenta);
  transition: width var(--duration-fast) var(--ease-editorial);
}

.nav-link:hover {
  color: var(--color-accent-magenta);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

/* Navigation Dropdowns */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-primary);
  background: none;
  border: none;
  padding: var(--space-8) 0;
  cursor: pointer;
  position: relative;
  transition: color var(--duration-fast) ease;
}

.nav-dropdown-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent-magenta);
  transition: width var(--duration-fast) var(--ease-editorial);
}

.nav-dropdown-trigger:hover::after,
.nav-dropdown-trigger.is-active::after {
  width: 100%;
}

.nav-dropdown-trigger:hover,
.nav-dropdown-trigger.is-active,
.nav-dropdown-wrapper:focus-within .nav-dropdown-trigger,
.nav-dropdown-wrapper.is-open .nav-dropdown-trigger {
  color: var(--color-accent-magenta);
}

.nav-dropdown-trigger svg {
  transition: transform var(--duration-fast) var(--ease-editorial);
}

.nav-dropdown-wrapper:hover .nav-dropdown-trigger svg,
.nav-dropdown-wrapper:focus-within .nav-dropdown-trigger svg,
.nav-dropdown-wrapper.is-open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  min-width: 270px;
  background-color: #FFFBFC;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-12);
  box-shadow: var(--shadow-elevated);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 160ms ease 60ms,
              transform 160ms var(--ease-editorial) 60ms,
              visibility 160ms ease 60ms;
  z-index: var(--z-dropdown);
}

/* Invisible bridge eliminating any dead-zone between trigger and menu */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: -20px;
  right: -20px;
  height: 24px;
  background: transparent;
  display: block;
  pointer-events: auto;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu,
.nav-dropdown-wrapper.is-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

.dropdown-item {
  display: block;
  padding: var(--space-8) var(--space-12);
  border-radius: var(--radius-sm);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: background-color var(--duration-fast) ease, color var(--duration-fast) ease;
}

.dropdown-item-title {
  font-size: var(--font-size-sm);
  font-weight: 600;
  margin-bottom: 2px;
}

.dropdown-item-desc {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.dropdown-item:hover {
  background-color: var(--color-surface-tinted);
  color: var(--color-accent-magenta);
}

.dropdown-item.is-active {
  background-color: var(--color-surface-tinted);
  color: var(--color-accent-magenta);
}

.dropdown-item.is-active .dropdown-item-title {
  color: var(--color-accent-magenta);
}

/* ==========================================================================
   SERVICES DROPDOWN (BRANDED MAGENTA THEME)
   ========================================================================== */
.nav-dropdown-wrapper.nav-dropdown-services .nav-dropdown-menu,
.nav-dropdown-menu.nav-dropdown-menu-services,
.nav-dropdown-wrapper:has(a[href*="pinterest-management"]) .nav-dropdown-menu {
  background-color: #D13282;
  border: none;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(82, 71, 36, 0.16);
}

.nav-dropdown-wrapper.nav-dropdown-services .dropdown-item,
.nav-dropdown-menu.nav-dropdown-menu-services .dropdown-item,
.nav-dropdown-wrapper:has(a[href*="pinterest-management"]) .dropdown-item {
  color: #FFFBFC;
  transition: background-color var(--duration-fast) ease;
}

.nav-dropdown-wrapper.nav-dropdown-services .dropdown-item .dropdown-item-title,
.nav-dropdown-menu.nav-dropdown-menu-services .dropdown-item .dropdown-item-title,
.nav-dropdown-wrapper:has(a[href*="pinterest-management"]) .dropdown-item .dropdown-item-title {
  color: #FFFBFC;
  font-weight: 600;
}

.nav-dropdown-wrapper.nav-dropdown-services .dropdown-item .dropdown-item-desc,
.nav-dropdown-menu.nav-dropdown-menu-services .dropdown-item .dropdown-item-desc,
.nav-dropdown-wrapper:has(a[href*="pinterest-management"]) .dropdown-item .dropdown-item-desc {
  color: rgba(255, 251, 252, 0.78);
  font-weight: 400;
}

.nav-dropdown-wrapper.nav-dropdown-services .dropdown-item:hover,
.nav-dropdown-menu.nav-dropdown-menu-services .dropdown-item:hover,
.nav-dropdown-wrapper:has(a[href*="pinterest-management"]) .dropdown-item:hover {
  background-color: #B8256E;
  color: #FFFBFC;
}

.nav-dropdown-wrapper.nav-dropdown-services .dropdown-item:hover .dropdown-item-title,
.nav-dropdown-wrapper.nav-dropdown-services .dropdown-item:hover .dropdown-item-desc,
.nav-dropdown-menu.nav-dropdown-menu-services .dropdown-item:hover .dropdown-item-title,
.nav-dropdown-menu.nav-dropdown-menu-services .dropdown-item:hover .dropdown-item-desc,
.nav-dropdown-wrapper:has(a[href*="pinterest-management"]) .dropdown-item:hover .dropdown-item-title,
.nav-dropdown-wrapper:has(a[href*="pinterest-management"]) .dropdown-item:hover .dropdown-item-desc {
  color: #FFFBFC;
}

/* Services Active State: Darker Magenta (#B8256E) matching Resources dropdown, NO Purple */
.nav-dropdown-wrapper.nav-dropdown-services .dropdown-item.is-active,
.nav-dropdown-menu.nav-dropdown-menu-services .dropdown-item.is-active,
.nav-dropdown-wrapper:has(a[href*="pinterest-management"]) .dropdown-item.is-active {
  background-color: #B8256E;
  color: #FFFBFC;
}

.nav-dropdown-wrapper.nav-dropdown-services .dropdown-item.is-active .dropdown-item-title,
.nav-dropdown-wrapper.nav-dropdown-services .dropdown-item.is-active .dropdown-item-desc,
.nav-dropdown-menu.nav-dropdown-menu-services .dropdown-item.is-active .dropdown-item-title,
.nav-dropdown-menu.nav-dropdown-menu-services .dropdown-item.is-active .dropdown-item-desc,
.nav-dropdown-wrapper:has(a[href*="pinterest-management"]) .dropdown-item.is-active .dropdown-item-title,
.nav-dropdown-wrapper:has(a[href*="pinterest-management"]) .dropdown-item.is-active .dropdown-item-desc {
  color: #FFFBFC;
}

/* ==========================================================================
   RESOURCES DROPDOWN (BRANDED MAGENTA THEME — MATCHING SERVICES)
   ========================================================================== */
.nav-dropdown-wrapper.nav-dropdown-resources .nav-dropdown-menu,
.nav-dropdown-menu.nav-dropdown-menu-resources,
.nav-dropdown-wrapper:has(a[href*="prompts"]) .nav-dropdown-menu,
.nav-dropdown-wrapper:has(a[href*="chatgpt-prompts"]) .nav-dropdown-menu {
  background-color: #D13282;
  border: none;
  border-radius: 14px;
  box-shadow: 0 14px 34px rgba(82, 71, 36, 0.16);
}

.nav-dropdown-wrapper.nav-dropdown-resources .dropdown-item,
.nav-dropdown-menu.nav-dropdown-menu-resources .dropdown-item,
.nav-dropdown-wrapper:has(a[href*="prompts"]) .dropdown-item,
.nav-dropdown-wrapper:has(a[href*="chatgpt-prompts"]) .dropdown-item {
  color: #FFFBFC;
  transition: background-color var(--duration-fast) ease;
}

.nav-dropdown-wrapper.nav-dropdown-resources .dropdown-item .dropdown-item-title,
.nav-dropdown-menu.nav-dropdown-menu-resources .dropdown-item .dropdown-item-title,
.nav-dropdown-wrapper:has(a[href*="prompts"]) .dropdown-item .dropdown-item-title,
.nav-dropdown-wrapper:has(a[href*="chatgpt-prompts"]) .dropdown-item .dropdown-item-title {
  color: #FFFBFC;
  font-weight: 600;
}

.nav-dropdown-wrapper.nav-dropdown-resources .dropdown-item .dropdown-item-desc,
.nav-dropdown-menu.nav-dropdown-menu-resources .dropdown-item .dropdown-item-desc,
.nav-dropdown-wrapper:has(a[href*="prompts"]) .dropdown-item .dropdown-item-desc,
.nav-dropdown-wrapper:has(a[href*="chatgpt-prompts"]) .dropdown-item .dropdown-item-desc {
  color: rgba(255, 251, 252, 0.78);
  font-weight: 400;
}

/* Resources Hover: Darker Magenta (#B8256E), NO Purple */
.nav-dropdown-wrapper.nav-dropdown-resources .dropdown-item:hover,
.nav-dropdown-wrapper.nav-dropdown-resources .dropdown-item.is-active,
.nav-dropdown-menu.nav-dropdown-menu-resources .dropdown-item:hover,
.nav-dropdown-menu.nav-dropdown-menu-resources .dropdown-item.is-active,
.nav-dropdown-wrapper:has(a[href*="prompts"]) .dropdown-item:hover,
.nav-dropdown-wrapper:has(a[href*="prompts"]) .dropdown-item.is-active,
.nav-dropdown-wrapper:has(a[href*="chatgpt-prompts"]) .dropdown-item:hover,
.nav-dropdown-wrapper:has(a[href*="chatgpt-prompts"]) .dropdown-item.is-active {
  background-color: #B8256E;
  color: #FFFBFC;
}

.nav-dropdown-wrapper.nav-dropdown-resources .dropdown-item:hover .dropdown-item-title,
.nav-dropdown-wrapper.nav-dropdown-resources .dropdown-item:hover .dropdown-item-desc,
.nav-dropdown-wrapper.nav-dropdown-resources .dropdown-item.is-active .dropdown-item-title,
.nav-dropdown-wrapper.nav-dropdown-resources .dropdown-item.is-active .dropdown-item-desc,
.nav-dropdown-menu.nav-dropdown-menu-resources .dropdown-item:hover .dropdown-item-title,
.nav-dropdown-menu.nav-dropdown-menu-resources .dropdown-item:hover .dropdown-item-desc,
.nav-dropdown-menu.nav-dropdown-menu-resources .dropdown-item.is-active .dropdown-item-title,
.nav-dropdown-menu.nav-dropdown-menu-resources .dropdown-item.is-active .dropdown-item-desc,
.nav-dropdown-wrapper:has(a[href*="prompts"]) .dropdown-item:hover .dropdown-item-title,
.nav-dropdown-wrapper:has(a[href*="prompts"]) .dropdown-item:hover .dropdown-item-desc,
.nav-dropdown-wrapper:has(a[href*="prompts"]) .dropdown-item.is-active .dropdown-item-title,
.nav-dropdown-wrapper:has(a[href*="prompts"]) .dropdown-item.is-active .dropdown-item-desc,
.nav-dropdown-wrapper:has(a[href*="chatgpt-prompts"]) .dropdown-item:hover .dropdown-item-title,
.nav-dropdown-wrapper:has(a[href*="chatgpt-prompts"]) .dropdown-item:hover .dropdown-item-desc,
.nav-dropdown-wrapper:has(a[href*="chatgpt-prompts"]) .dropdown-item.is-active .dropdown-item-title,
.nav-dropdown-wrapper:has(a[href*="chatgpt-prompts"]) .dropdown-item.is-active .dropdown-item-desc {
  color: #FFFBFC;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

/* Mobile Navigation Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-primary);
  padding: var(--space-8);
  cursor: pointer;
  z-index: calc(var(--z-drawer) + 1);
}

.mobile-nav-toggle svg {
  width: 26px;
  height: 26px;
}

/* Mobile Drawer Overlay */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background-color: rgba(82, 71, 36, 0.4);
  backdrop-filter: blur(4px);
  z-index: var(--z-drawer);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-normal) ease, visibility var(--duration-normal) ease;
}

.mobile-nav-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  width: min(85vw, 360px);
  height: 100%;
  background-color: var(--color-bg-primary);
  box-shadow: -8px 0 32px rgba(82, 71, 36, 0.15);
  padding: var(--space-32) var(--space-24);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--duration-normal) var(--ease-editorial);
  overflow-y: auto;
}

.mobile-nav-drawer.is-open .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-32);
}

.mobile-drawer-header img {
  height: 36px;
  width: auto;
  object-fit: contain;
  border-radius: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.mobile-nav-link {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--color-text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--color-accent-magenta);
}

/* Mobile Nav Accordion */
.mobile-nav-accordion {
  width: 100%;
}

.mobile-nav-accordion-trigger {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: 500;
  color: var(--color-text-primary);
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-border-subtle);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-8) 0;
  cursor: pointer;
  transition: color var(--duration-fast) ease;
  text-align: left;
}

.mobile-nav-accordion-trigger:hover,
.mobile-nav-accordion-trigger.is-active {
  color: var(--color-accent-magenta);
}

.mobile-nav-accordion-trigger svg {
  transition: transform var(--duration-fast) var(--ease-editorial);
}

.mobile-nav-accordion.is-open .mobile-nav-accordion-trigger svg,
.mobile-nav-accordion-trigger[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mobile-nav-accordion .mobile-nav-sublist {
  display: none;
  padding-left: var(--space-16);
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
  flex-direction: column;
  gap: var(--space-8);
}

.mobile-nav-accordion.is-open .mobile-nav-sublist,
.mobile-nav-accordion-trigger[aria-expanded="true"] + .mobile-nav-sublist {
  display: flex;
}

.mobile-nav-sublist {
  padding-left: var(--space-16);
  margin-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.mobile-nav-sublink {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  padding: var(--space-4) 0;
  transition: color var(--duration-fast) ease;
}

.mobile-nav-sublink:hover,
.mobile-nav-sublink.is-active {
  color: var(--color-accent-magenta);
  font-weight: 600;
}

.mobile-drawer-footer {
  margin-top: var(--space-32);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

@media (max-width: 992px) {
  .desktop-nav {
    display: none;
  }
  .header-actions .btn {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   5. INTERACTIVE CHATGPT PROMPT CARD
   Clean, easy to copy, non-technical developer look
   -------------------------------------------------------------------------- */
.prompt-card {
  background-color: #FFFFFF;
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-card);
  transition: transform var(--duration-normal) var(--ease-editorial),
              box-shadow var(--duration-normal) var(--ease-editorial);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.prompt-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.prompt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.prompt-title {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-headline-purple);
}

.prompt-explanation {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-normal);
}

.prompt-box {
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  padding: var(--space-16);
  position: relative;
}

.prompt-text {
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: var(--color-text-primary);
  line-height: 1.65;
  white-space: pre-line;
}

.prompt-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-border-subtle);
}

.copy-prompt-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-8);
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-surface-tinted);
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-subtle);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.copy-prompt-btn:hover {
  background-color: var(--color-accent-magenta);
  color: #FFFFFF;
  border-color: var(--color-accent-magenta);
  transform: translateY(-1px);
}

.copy-prompt-btn.is-copied {
  background-color: #2E7D32;
  color: #FFFFFF;
  border-color: #2E7D32;
}

/* --------------------------------------------------------------------------
   6. TOAST FEEDBACK NOTIFICATION
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: var(--z-toast);
  pointer-events: none;
}

.toast {
  background-color: var(--color-text-primary);
  color: var(--color-bg-primary);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: 500;
  box-shadow: var(--shadow-elevated);
  display: flex;
  align-items: center;
  gap: var(--space-8);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) var(--ease-editorial);
  pointer-events: auto;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   7. RESOURCE CARD
   Editorial cover, tag, title, download CTA
   -------------------------------------------------------------------------- */
.resource-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface-white);
  border: 1px solid rgba(82, 71, 36, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(82, 71, 36, 0.06),
              0 12px 28px -4px rgba(82, 71, 36, 0.08);
  transition: transform var(--duration-normal) var(--ease-editorial),
              box-shadow var(--duration-normal) var(--ease-editorial);
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px -2px rgba(82, 71, 36, 0.08),
              0 20px 42px -6px rgba(82, 71, 36, 0.12);
}

.resource-cover-wrapper {
  position: relative;
  background-color: var(--color-surface-tinted);
  padding: var(--space-20);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.resource-cover-wrapper img {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: var(--radius-sm);
  box-shadow: 0 8px 24px -4px rgba(82, 71, 36, 0.15);
  transition: transform var(--duration-normal) var(--ease-editorial);
}

.resource-card:hover .resource-cover-wrapper img {
  transform: translateY(-4px) scale(1.02);
}

.resource-card-body {
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.resource-card-body .resource-title {
  font-family: var(--font-body);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-headline-purple);
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

.resource-card-body .resource-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  flex-grow: 1;
  margin-bottom: var(--space-20);
}

.resource-card-body .btn:hover {
  background-color: #D13282;
  border-color: #D13282;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   8. BLOG ARTICLE CARD
   Editorial aspect ratio, reading time, Pinterest-optimized
   -------------------------------------------------------------------------- */
.blog-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface-white);
  border: 1px solid rgba(82, 71, 36, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 16px -2px rgba(82, 71, 36, 0.06),
              0 12px 28px -4px rgba(82, 71, 36, 0.08);
  transition: transform var(--duration-normal) var(--ease-editorial),
              box-shadow var(--duration-normal) var(--ease-editorial);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px -2px rgba(82, 71, 36, 0.08),
              0 20px 42px -6px rgba(82, 71, 36, 0.12);
}

.blog-image-wrapper {
  position: relative;
  overflow: hidden;
  background-color: var(--color-surface-tinted);
}

.blog-image-wrapper img {
  width: 100%;
  height: auto;
  transition: transform var(--duration-slow) var(--ease-editorial);
}

.blog-card:hover .blog-image-wrapper img {
  transform: scale(1.03);
}

.blog-card-body {
  padding: var(--space-24);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.blog-title {
  font-family: var(--font-body);
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.1875rem);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-12);
  line-height: 1.3;
  letter-spacing: -0.012em;
}

@media (min-width: 900px) {
  .blog-title {
    min-height: 3.9em;
  }
}

.blog-excerpt {
  font-family: var(--font-body);
  font-size: 0.8438rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: var(--space-20);
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-body .btn-text {
  margin-top: auto;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   9. NEWSLETTER / HUB COMPONENT
   Warm, clean, non-spammy
   -------------------------------------------------------------------------- */
.newsletter-card {
  background-color: #FFFFFF;
  border: 1.5px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  box-shadow: var(--shadow-elevated);
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent-magenta) 0%, var(--color-accent-purple) 100%);
}

.newsletter-form {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-24);
  flex-wrap: wrap;
}

.newsletter-input {
  flex: 1 1 280px;
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border-subtle);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-accent-magenta);
  box-shadow: 0 0 0 3px var(--color-accent-magenta-subtle);
}

.newsletter-helper {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-12);
}

/* --------------------------------------------------------------------------
   10. FOOTER COMPONENT
   Refined editorial layout
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--fm-bg-white, #FFFBFC);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: var(--space-40);
  margin-top: 0;
}

.site-footer.footer-blush {
  background-color: var(--fm-bg-blush, #FAF2F5);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: var(--space-48);
}

.footer-brand p {
  margin-top: var(--space-16);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  max-width: 320px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-caps);
  color: var(--color-text-primary);
  margin-bottom: var(--space-16);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.footer-link {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

.footer-link:hover {
  color: var(--color-accent-magenta);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: var(--space-16);
  padding: 0;
  margin: 0;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-magenta);
  text-decoration: none;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
}

.footer-social-link:hover {
  color: var(--color-accent-magenta-hover);
  transform: translateY(-1px);
}

.footer-social-link:focus-visible {
  outline: 2px solid var(--color-accent-magenta);
  outline-offset: 4px;
  border-radius: var(--radius-xs, 4px);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  display: block;
}

.footer-bottom {
  padding-top: var(--space-32);
  border-top: 1px solid var(--color-border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-16);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-20);
}

@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
