/* ─── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: var(--ink-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 0 1.25rem;
  max-width: 100%;
  margin-inline: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  margin-top: 1rem;
  max-width: 220px;
}

.footer-col-title {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--ff-heading);
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.4);
  transition: all 0.2s;
}

.footer-socials a:hover {
  background: rgba(131, 39, 210, 0.4);
  color: #fff;
}

/* ─── DEMO MODAL ──────────────────────────────────────────────── */
#demo-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(15, 11, 26, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#demo-modal.modal-visible {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

.modal-box {
  position: relative;
  background: var(--surface);
  border: 1.5px solid var(--border-soft);
  border-radius: 24px;
  width: 100%;
  max-width: 454px;
  max-height: 90vh;
  overflow: visible;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(131, 39, 210, 0.08);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-mascot {
  position: absolute;
  top: 14px;
  left: -5px;
  width: 110px;
  z-index: 10;
  pointer-events: none;
}

#demo-modal.modal-visible .modal-box {
  transform: translateY(0) scale(1);
}

.modal-header {
  background: linear-gradient(135deg, var(--ink-900) 0%, #2d1052 100%);
  border-radius: 22px 22px 0 0;
  padding: 20px 20px 20px 105px;
  position: relative;
  overflow: hidden;
}

.modal-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(131, 39, 210, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.modal-header-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  background: rgba(131, 39, 210, 0.3);
  border: 1px solid rgba(197, 152, 240, 0.3);
  border-radius: var(--r-full);
  font-family: var(--ff-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--brand-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.875rem;
  position: relative;
  z-index: 1;
}

.modal-header h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
  position: relative;
  z-index: 1;
}

.modal-header p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  position: relative;
  z-index: 1;
}

.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.modal-body {
  padding: 20px;
}

.modal-field {
  margin-bottom: 0.9rem;
}

.modal-label {
  display: block;
  font-family: var(--ff-heading);
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.modal-input,
.modal-select,
.modal-textarea {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--canvas);
  color: var(--ink-900);
  font-family: var(--ff-body);
  font-size: 0.775rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.modal-input::placeholder,
.modal-textarea::placeholder {
  color: var(--ink-300);
}

.modal-input:focus,
.modal-select:focus,
.modal-textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(131, 39, 210, 0.1);
  background: var(--surface);
}

.modal-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' fill='none' viewBox='0 0 24 24' stroke='%238474A0' stroke-width='2.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.modal-textarea {
  resize: none;
}

.modal-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modal-submit-btn {
  width: 100%;
  padding: 0.775rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-family: var(--ff-heading);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  margin-top: 0.5rem;
  box-shadow: 0 4px 20px rgba(131, 39, 210, 0.35);
  transition: all 0.2s ease;
}

.modal-submit-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(131, 39, 210, 0.45);
}

/* ─── ENHANCED FOOTER ────────────────────────────────────────── */
.site-footer {
  background: var(--ink-900);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top-bar {
  height: 2px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-light) 50%, transparent 100%);
}

.footer-main {
  padding: 2rem 0 0;
}

.footer-grid-new {
  display: grid;
  grid-template-columns: 1.6fr 2fr 1fr;
  gap: 3.5rem;
  margin-bottom: 3rem;
}

.footer-logo-new {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1rem;
}

.footer-logo-mark-new {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  box-shadow: none;
}

.footer-logo-text-new {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-brand-desc-new {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  max-width: 300px;
}

.footer-quick-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.footer-quick-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s;
}

.footer-quick-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-socials-new {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  margin-bottom: 1.75rem;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.875rem;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.footer-social-btn:hover {
  background: var(--brand);
  color: #fff;
  transform: scale(1.1);
}

.footer-newsletter-label {
  font-family: var(--ff-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
  /* margin-top: 110px; */
}

.footer-newsletter-sub {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0.75rem;
}

.footer-actions-row {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-full);
  padding: 0.25rem 0.25rem 0.25rem 1rem;
  transition: border-color 0.2s;
  flex: 1.2;
  min-width: 200px;
}

.footer-newsletter-form:focus-within {
  border-color: rgba(131, 39, 210, 0.5);
}

.footer-newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  min-width: 0;
}

.footer-newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.footer-newsletter-btn {
  padding: 0.5rem 1.25rem;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: var(--r-full);
  font-family: var(--ff-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
  flex-shrink: 0;
}

.footer-newsletter-btn:hover {
  background: var(--brand-dark);
}

.footer-newsletter-policy {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.25);
}

.footer-newsletter-policy a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: underline;
}

.footer-newsletter-policy a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-links-region {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col-title-new {
  font-family: var(--ff-heading);
  font-size: 0.8875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.25rem;
}

.footer-links-new {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer-links-new a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s, padding-left 0.15s;
}

.footer-links-new a:hover {
  color: rgba(255, 255, 255, 0.85);
  padding-left: 4px;
}

.footer-apps-title {
  font-family: var(--ff-heading);
  font-size: 0.8875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.footer-app-badges {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.footer-app-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  padding: 8px;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  flex: 1;
}

.footer-app-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(131, 39, 210, 0.4);
  transform: translateY(-2px);
}

.footer-app-badge svg {
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}

.footer-app-badge-label {
  font-size: 0.5625rem;
  color: rgba(255, 255, 255, 0.35);
  font-family: var(--ff-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.125rem;
}

.footer-app-badge-name {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--ff-heading);
}

.footer-contacts-title {
  font-family: var(--ff-heading);
  font-size: 0.8875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.55;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brand-mid);
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.15s;
}

.footer-contact-item a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact-phone {
  font-family: var(--ff-heading);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.15s;
}

.footer-contact-phone:hover {
  color: #fff;
}

.footer-trust-inline-wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  white-space: nowrap;
  z-index: 10;
}

@media (min-width: 992px) {
  .footer-trust-inline-wrap {
    position: absolute;
    left: calc(100% + 2rem);
    top: 50%;
    transform: translateY(-50%);
  }
}

@media (max-width: 991px) {
  .footer-trust-inline-wrap {
    margin-top: 1rem;
    flex-wrap: wrap;
    width: 100%;
  }
}

.footer-trust-label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.2);
  font-family: var(--ff-heading);
  white-space: nowrap;
}

.footer-trust-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 1.25rem;
}

@media (max-width: 991px) {
  .footer-trust-badges {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 1rem;
  }
}

.footer-trust-badge {
  display: flex;
  flex-direction: row;
  /* Change to row for better horizontal layout */
  align-items: center;
  gap: 0.625rem;
  cursor: default;
  transition: all 0.2s;
}

.footer-trust-badge:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-trust-badge-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.footer-trust-badge-name {
  font-family: var(--ff-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.2;
}

.footer-trust-badge-sub {
  font-size: 0.5625rem;
  color: rgba(255, 255, 255, 0.3);
  text-align: left;
  line-height: 1.2;
}

.footer-trust-divider {
  width: 1px;
  height: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.footer-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--surface);
  color: var(--brand-dark);
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  padding: 0.5625rem 1.25rem;
  font-family: var(--ff-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  transition: all 0.25s;
}

.footer-contact-btn:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(131, 39, 210, 0.35);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid-new {
    grid-template-columns: 1fr 1fr;
  }

  .footer-right-col {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .footer-grid-new {
    grid-template-columns: 1fr;
  }

  .footer-links-region {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-right-col {
    grid-column: auto;
    display: block;
  }

  .modal-grid-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .modal-mascot {
    width: 90px;
    top: -30px;
    left: 2px;
  }

  .modal-header {
    padding: 16px 16px 16px 85px;
  }

  .modal-header h2 {
    font-size: 1.15rem;
  }

  .modal-header p {
    font-size: 0.8rem;
  }

  .modal-body {
    padding: 15px;
  }

  .modal-field {
    margin-bottom: 0.65rem;
  }

  .modal-label {
    margin-bottom: 0.25rem;
    font-size: 0.575rem;
  }

  .modal-input,
  .modal-select,
  .modal-textarea {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }

  .modal-submit-btn {
    padding: 0.65rem;
    margin-top: 0.25rem;
  }

  .nav-login {
    display: none;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {


  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-grid> :first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ─── FLOATING CHAT ────────────────────────────────────────────── */
.floating-chat-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 500;
  width: 60px;
  height: 60px;
  background: #6D28D9;
  /* Deep brand purple */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 40px rgba(109, 40, 217, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: chat-pulse 3s infinite;
}

.floating-chat-btn:hover {
  transform: scale(1.1) translateY(-5px);
  background: #7C3AED;
}

.chat-btn-inner {
  width: 100%;
  height: 100%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-btn-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes chat-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(109, 40, 217, 0.6);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(109, 40, 217, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(109, 40, 217, 0);
  }
}


/* ── EXISTING NAVBAR (already in your style.css) ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 66px;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--border-soft);
  box-shadow: 0 2px 20px rgba(131, 39, 210, 0.06);
}

.nav-inner {
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  margin-inline: auto;
  padding: 0 100px 0 100px;
}

@media (max-width: 560px) {
  .nav-inner {
    max-width: 1600px;
    margin-inline: auto;
    /* padding-inline: clamp(1.25rem, 4vw, 5rem); */
    padding: 0 20px 0 20px;
  }

  .demo-modal {
    height: 76vh;
    z-index: 999;

  }
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .625rem;
}

.nav-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  box-shadow: none;
}

.nav-logo-text {
  font-family: var(--ff-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink-900);
  letter-spacing: -.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links>a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-500);
  transition: color .15s;
  position: relative;
}

.nav-links>a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--brand);
  border-radius: 99px;
  transform: scaleX(0);
  transition: transform .2s ease;
}

.nav-links>a:hover {
  color: var(--brand);
}

.nav-links>a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-login {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-500);
  transition: color .15s;
}

.nav-login:hover {
  color: var(--brand);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.625rem;
  border-radius: var(--r-md);
  font-family: var(--ff-heading);
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all .2s ease;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 4px 20px rgba(131, 39, 210, 0.35);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(131, 39, 210, 0.45);
}

.btn-sm {
  padding: .5rem 1.125rem;
  font-size: .875rem;
  border-radius: var(--r-sm);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--ink-900);
  border-radius: 2px;
  transition: all .3s ease;
}

@media(max-width:768px) {

  .nav-links,
  .nav-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: 1.25rem;
  }
}

/* ══════════════════════════════════════════════════════════════
       NEW CSS — PASTE INTO style.css AFTER EXISTING NAVBAR BLOCK
    ══════════════════════════════════════════════════════════════ */

/* Trigger */
.nav-mega-wrap {
  position: static;
}

.nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-500);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--ff-body);
  transition: color .15s;
  position: relative;
  line-height: 1;
  white-space: nowrap;
}

.nav-mega-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 1.1rem;
  height: 2px;
  background: var(--brand);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s cubic-bezier(.4, 0, .2, 1);
}

.nav-mega-wrap.open .nav-mega-trigger {
  color: var(--brand);
}

.nav-mega-wrap.open .nav-mega-trigger::after {
  transform: scaleX(1);
}

.mega-chevron {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}

.nav-mega-wrap.open .mega-chevron {
  transform: rotate(180deg);
}

/* Panel positioner — fixed strip under navbar */
.mega-positioner {
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  z-index: 99;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity .24s cubic-bezier(.4, 0, .2, 1),
    transform .24s cubic-bezier(.4, 0, .2, 1),
    visibility .24s;
}

.nav-mega-wrap.open .mega-positioner {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-positioner::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brand) 25%, var(--brand-light) 65%, transparent 100%);
  opacity: .55;
}

/* Panel shell */
.mega-panel {
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 24px 64px rgba(131, 39, 210, 0.14), 0 6px 20px rgba(0, 0, 0, 0.06);
  background-image: radial-gradient(circle, rgba(131, 39, 210, 0.04) 1px, transparent 1px);
  background-size: 22px 22px;
}

/* Panel body — 3-col grid */
.mega-body {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 5rem);
  padding-block: 1.875rem 1.625rem;
  display: grid;
  grid-template-columns: 1fr 1fr 240px;
  gap: 0;
}

/* Columns */
.mega-col {
  padding-right: 2.25rem;
  border-right: 1px solid var(--border-soft);
}

.mega-col+.mega-col {
  padding-left: 2.25rem;
  padding-right: 2.25rem;
}

.mega-col:last-of-type {
  border-right: none;
  padding-right: 0;
}

/* Column header */
.mega-col-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .875rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border-soft);
}

.mega-col-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--brand-pale);
  border: 1px solid var(--brand-soft);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}

.mega-col-meta {
  line-height: 1.2;
}

.mega-col-eyebrow {
  font-family: var(--ff-heading);
  font-size: .575rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-400);
  display: block;
}

.mega-col-name {
  font-family: var(--ff-heading);
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-700);
  display: block;
  margin-top: .1rem;
}

/* Service items */
.mega-items {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .8125rem .875rem;
  border-radius: 14px;
  text-decoration: none;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background .18s ease, border-color .18s ease, transform .2s cubic-bezier(.4, 0, .2, 1);
}

.mega-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 38%, rgba(131, 39, 210, 0.05) 50%, transparent 62%);
  transform: translateX(-120%);
  transition: transform .5s ease;
}

.mega-item:hover {
  background: var(--brand-pale);
  border-color: var(--brand-soft);
  transform: translateX(4px);
}

.mega-item:hover::before {
  transform: translateX(120%);
}

/* Icon box */
.mega-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--canvas);
  border: 1.5px solid var(--border-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 1px;
  transition: background .18s, border-color .18s, color .18s, transform .22s cubic-bezier(.34, 1.56, .64, 1);
}

.mega-item:hover .mega-icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

/* Item text */
.mega-item-body {
  flex: 1;
  min-width: 0;
}

.mega-item-row {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .2rem;
}

.mega-item-name {
  font-family: var(--ff-heading);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-700);
  line-height: 1.3;
  transition: color .15s;
}

.mega-item:hover .mega-item-name {
  color: var(--brand-dark);
}

.mega-item-desc {
  font-size: .775rem;
  color: var(--ink-400);
  line-height: 1.5;
  font-family: var(--ff-body);
  transition: color .15s;
}

.mega-item:hover .mega-item-desc {
  color: var(--ink-500);
}

/* Badges */
.mbadge {
  display: inline-flex;
  padding: .1rem .45rem;
  border-radius: var(--r-full);
  font-family: var(--ff-heading);
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  flex-shrink: 0;
  line-height: 1.7;
}

.mbadge-popular {
  background: #FFF3E0;
  color: #E65100;
  border: 1px solid #FFCC80;
}

.mbadge-core {
  background: var(--brand-pale);
  color: var(--brand-dark);
  border: 1px solid var(--brand-soft);
}

.mbadge-advanced {
  background: #EDE7F6;
  color: #4527A0;
  border: 1px solid #B39DDB;
}

/* Arrow */
.mega-arrow {
  width: 13px;
  height: 13px;
  color: var(--ink-300);
  flex-shrink: 0;
  margin-top: 13px;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .15s, transform .15s, color .15s;
}

.mega-item:hover .mega-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--brand);
}

/* Stagger */
.nav-mega-wrap.open .mega-col:nth-child(1) .mega-item {
  animation: megaIn .26s ease both;
}

.nav-mega-wrap.open .mega-col:nth-child(1) .mega-item:nth-child(1) {
  animation-delay: .04s;
}

.nav-mega-wrap.open .mega-col:nth-child(1) .mega-item:nth-child(2) {
  animation-delay: .08s;
}

.nav-mega-wrap.open .mega-col:nth-child(1) .mega-item:nth-child(3) {
  animation-delay: .12s;
}

.nav-mega-wrap.open .mega-col:nth-child(2) .mega-item {
  animation: megaIn .26s ease both;
}

.nav-mega-wrap.open .mega-col:nth-child(2) .mega-item:nth-child(1) {
  animation-delay: .06s;
}

.nav-mega-wrap.open .mega-col:nth-child(2) .mega-item:nth-child(2) {
  animation-delay: .10s;
}

.nav-mega-wrap.open .mega-col:nth-child(2) .mega-item:nth-child(3) {
  animation-delay: .14s;
}

.nav-mega-wrap.open .mega-sidebar {
  animation: megaIn .3s ease .05s both;
}

@keyframes megaIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sidebar */
.mega-sidebar {
  padding-left: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* CTA card */
.mega-cta {
  background: linear-gradient(145deg, var(--ink-900) 0%, #280f54 100%);
  border-radius: 16px;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.mega-cta::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(131, 39, 210, .5) 0%, transparent 70%);
  pointer-events: none;
}

.mega-cta::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: -15px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(159, 69, 232, .2) 0%, transparent 70%);
  pointer-events: none;
}

.mega-cta-chip {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  background: rgba(131, 39, 210, .35);
  border: 1px solid rgba(197, 152, 240, .3);
  border-radius: var(--r-full);
  font-family: var(--ff-heading);
  font-size: .55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--brand-mid);
  margin-bottom: .75rem;
  position: relative;
  z-index: 1;
}

.mega-cta-title {
  font-family: var(--ff-heading);
  font-size: .9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: .375rem;
  position: relative;
  z-index: 1;
}

.mega-cta-sub {
  font-size: .725rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.55;
  margin-bottom: .875rem;
  position: relative;
  z-index: 1;
}

.mega-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .4375rem 1rem;
  background: var(--brand);
  color: #fff;
  border-radius: var(--r-full);
  font-family: var(--ff-heading);
  font-size: .725rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(131, 39, 210, .5);
  transition: background .2s, transform .2s, box-shadow .2s;
  position: relative;
  z-index: 1;
}

.mega-cta-btn:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(131, 39, 210, .6);
}

/* Stats */
.mega-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .45rem;
}

.mega-stat {
  background: var(--canvas);
  border: 1.5px solid var(--border-soft);
  border-radius: 11px;
  padding: .6875rem .5rem;
  text-align: center;
  transition: border-color .2s, background .2s;
}

.mega-stat:hover {
  border-color: var(--brand-soft);
  background: var(--brand-pale);
}

.mega-stat-num {
  font-family: var(--ff-heading);
  font-size: 1.0625rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1.1;
  display: block;
}

.mega-stat-lbl {
  font-size: .575rem;
  color: var(--ink-400);
  font-family: var(--ff-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-top: .15rem;
  line-height: 1.3;
  display: block;
}

/* View all */
.mega-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .5625rem;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  font-family: var(--ff-heading);
  font-size: .75rem;
  font-weight: 600;
  color: var(--ink-500);
  text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}

.mega-view-all:hover {
  border-color: var(--brand-soft);
  color: var(--brand);
  background: var(--brand-pale);
}

/* Panel footer */
.mega-foot {
  border-top: 1px solid var(--border-soft);
  background: var(--canvas-alt);
}

.mega-foot-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 5rem);
  padding-block: .625rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.mega-foot-copy {
  font-size: .725rem;
  color: var(--ink-400);
}

.mega-foot-copy strong {
  color: var(--ink-700);
  font-weight: 600;
}

.mega-foot-tags {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.mega-foot-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .2rem .6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: .6375rem;
  color: var(--ink-500);
  font-family: var(--ff-heading);
  font-weight: 500;
  white-space: nowrap;
}

.mega-foot-tag svg {
  color: var(--brand);
}

/* ══════════════════════════════════════════════════════════════
       EXISTING MOBILE NAV (already in your style.css)
    ══════════════════════════════════════════════════════════════ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 2000;
  visibility: hidden;
  pointer-events: none;
  transition: visibility .4s;
}

.mobile-nav.active {
  visibility: visible;
  pointer-events: auto;
}

.mob-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .4);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .4s ease;
}

.mobile-nav.active .mob-backdrop {
  opacity: 1;
}

.mob-content {
  position: absolute;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 50px rgba(0, 0, 0, .1);
  display: flex;
  flex-direction: column;
  transition: transform .4s cubic-bezier(.165, .84, .44, 1);
}

.mobile-nav.active .mob-content {
  transform: translateX(-300px);
}

.mob-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-soft);
}

.mob-close {
  background: var(--brand-pale);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--brand);
  cursor: pointer;
}

.mob-links {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .875rem;
  flex-grow: 1;
  overflow-y: auto;
}

.mob-links>a {
  font-family: var(--ff-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink-900);
  padding: .5rem 0;
  transition: color .2s;
}

.mob-links>a:hover {
  color: var(--brand);
}

.mob-actions {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  border-top: 1px solid var(--border-soft);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.mob-login {
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-500);
  transition: color .15s;
  text-align: center;
  display: block;
}

.mob-login:hover {
  color: var(--brand);
}

/* ══════════════════════════════════════════════════════════════
       NEW MOBILE ACCORDION — PASTE INTO style.css
    ══════════════════════════════════════════════════════════════ */
.mob-acc-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: .5rem 0;
  cursor: pointer;
  font-family: var(--ff-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink-900);
  transition: color .2s;
}

.mob-acc-trigger.open,
.mob-acc-trigger:hover {
  color: var(--brand);
}

.mob-acc-chevron {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  color: var(--ink-400);
  flex-shrink: 0;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1), color .2s;
}

.mob-acc-trigger.open .mob-acc-chevron {
  transform: rotate(180deg);
  color: var(--brand);
}

.mob-acc-body {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .38s cubic-bezier(.4, 0, .2, 1), opacity .28s ease, margin .3s;
  margin-top: 0;
}

.mob-acc-body.open {
  max-height: 1000px;
  opacity: 1;
  margin-top: .5rem;
}

.mob-group-label {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--ff-heading);
  font-size: .575rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--brand);
  padding: 0 .875rem;
  margin-bottom: .375rem;
}

.mob-group-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-soft);
}

.mob-group {
  margin-bottom: .75rem;
}

.mob-group:last-of-type {
  margin-bottom: 0;
}

.mob-svc {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  padding: .6875rem .875rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid transparent;
  margin-bottom: 2px;
  transition: background .18s, border-color .18s, transform .18s;
}

.mob-svc:hover,
.mob-svc:active {
  background: var(--brand-pale);
  border-color: var(--brand-soft);
  transform: translateX(3px);
}

.mob-svc-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--canvas);
  border: 1.5px solid var(--border-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--brand);
  margin-top: 1px;
  transition: background .18s, color .18s;
}

.mob-svc:hover .mob-svc-icon,
.mob-svc:active .mob-svc-icon {
  background: var(--brand);
  color: #fff;
}

.mob-svc-txt {
  flex: 1;
  min-width: 0;
}

.mob-svc-name {
  font-family: var(--ff-heading);
  font-size: .875rem;
  font-weight: 600;
  color: var(--ink-700);
  display: block;
  line-height: 1.3;
  transition: color .15s;
}

.mob-svc:hover .mob-svc-name,
.mob-svc:active .mob-svc-name {
  color: var(--brand-dark);
}

.mob-svc-desc {
  font-size: .7rem;
  color: var(--ink-400);
  display: block;
  line-height: 1.45;
  margin-top: .1rem;
}

.mob-svc-badge {
  display: inline-flex;
  padding: .1rem .4rem;
  border-radius: 99px;
  font-family: var(--ff-heading);
  font-size: .5rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: .3rem;
}

/* Mobile CTA */
.mob-cta-strip {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem .875rem;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--ink-900) 0%, #280f54 100%);
  text-decoration: none;
  margin-top: .75rem;
  position: relative;
  overflow: hidden;
  transition: transform .2s;
}

.mob-cta-strip:hover {
  transform: translateY(-1px);
}

.mob-cta-strip::before {
  content: '';
  position: absolute;
  top: -25px;
  right: -25px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(131, 39, 210, .45) 0%, transparent 70%);
}

.mob-cta-ico {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(131, 39, 210, .5);
  position: relative;
  z-index: 1;
}

.mob-cta-txt {
  position: relative;
  z-index: 1;
}

.mob-cta-ttl {
  font-family: var(--ff-heading);
  font-size: .8125rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.25;
}

.mob-cta-sub {
  font-size: .675rem;
  color: rgba(255, 255, 255, .45);
  display: block;
  margin-top: .1rem;
}

.mob-cta-arr {
  margin-left: auto;
  color: rgba(255, 255, 255, .3);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: color .2s, transform .2s;
}

.mob-cta-strip:hover .mob-cta-arr {
  color: #fff;
  transform: translateX(3px);
}

/* Mobile stagger */
.mob-acc-body.open .mob-svc {
  animation: mobIn .3s ease both;
}

.mob-acc-body.open .mob-svc:nth-child(1) {
  animation-delay: .03s;
}

.mob-acc-body.open .mob-svc:nth-child(2) {
  animation-delay: .06s;
}

.mob-acc-body.open .mob-svc:nth-child(3) {
  animation-delay: .09s;
}

.mob-acc-body.open .mob-svc:nth-child(4) {
  animation-delay: .12s;
}

.mob-acc-body.open .mob-svc:nth-child(5) {
  animation-delay: .15s;
}

.mob-acc-body.open .mob-svc:nth-child(6) {
  animation-delay: .18s;
}

@keyframes mobIn {
  from {
    opacity: 0;
    transform: translateX(8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ══════════════════════════════════════════════════════════════
       MINI DROPDOWN — Directory & Support nav items
   ══════════════════════════════════════════════════════════════ */

/* Wrapper — relative so panel can be absolutely positioned below it */
.nav-mini-wrap {
  position: relative;
}

/* Trigger button */
.nav-mini-trigger {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--ink-500);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--ff-body);
  transition: color .15s;
  position: relative;
  line-height: 1;
  white-space: nowrap;
}

.nav-mini-trigger::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 1.1rem;
  height: 2px;
  background: var(--brand);
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s cubic-bezier(.4, 0, .2, 1);
}

.nav-mini-wrap.open .nav-mini-trigger {
  color: var(--brand);
}

.nav-mini-wrap.open .nav-mini-trigger::after {
  transform: scaleX(1);
}

/* Shared chevron with mega menu */
.mini-chevron {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  flex-shrink: 0;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}

.nav-mini-wrap.open .mini-chevron {
  transform: rotate(180deg);
}

/* Panel positioner — drops directly below its trigger button */
.mini-positioner {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  width: 280px;
  z-index: 99;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s cubic-bezier(.4, 0, .2, 1),
    transform .22s cubic-bezier(.4, 0, .2, 1),
    visibility .22s;
}

.nav-mini-wrap.open .mini-positioner {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Purple gradient rule at top */
.mini-positioner::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--brand) 40%, var(--brand-light) 80%, transparent 100%);
  opacity: .55;
}

/* Panel shell */
.mini-panel {
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  border-left: 1px solid var(--border-soft);
  box-shadow: -12px 24px 56px rgba(131, 39, 210, .13), 0 6px 18px rgba(0, 0, 0, .06);
  border-bottom-left-radius: 16px;
  background-image: radial-gradient(circle, rgba(131, 39, 210, .04) 1px, transparent 1px);
  background-size: 22px 22px;
  padding: 1rem 1.125rem;
}

/* Panel header row */
.mini-panel-head {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .75rem;
  padding-bottom: .625rem;
  border-bottom: 1px solid var(--border-soft);
}

.mini-panel-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--brand-pale);
  border: 1px solid var(--brand-soft);
  display: grid;
  place-items: center;
  color: var(--brand);
  flex-shrink: 0;
}

.mini-panel-title {
  font-family: var(--ff-heading);
  font-size: .75rem;
  font-weight: 700;
  color: var(--ink-700);
}

/* Items list */
.mini-items {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

/* Individual item */
.mini-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6875rem .75rem;
  border-radius: 12px;
  text-decoration: none;
  border: 1.5px solid transparent;
  position: relative;
  overflow: hidden;
  transition: background .18s ease, border-color .18s ease, transform .2s cubic-bezier(.4, 0, .2, 1);
  animation: miniIn .22s ease both;
}

.mini-item:nth-child(1) {
  animation-delay: .04s;
}

.mini-item:nth-child(2) {
  animation-delay: .08s;
}

.mini-item:nth-child(3) {
  animation-delay: .12s;
}

.mini-item:nth-child(4) {
  animation-delay: .16s;
}

@keyframes miniIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mini-item:hover {
  background: var(--brand-pale);
  border-color: var(--brand-soft);
  transform: translateX(4px);
}

/* Item icon */
.mini-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--canvas);
  border: 1.5px solid var(--border-soft);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--brand);
  transition: background .18s, border-color .18s, color .18s, transform .22s cubic-bezier(.34, 1.56, .64, 1);
}

.mini-item:hover .mini-item-icon {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}

/* Item text */
.mini-item-body {
  flex: 1;
  min-width: 0;
}

.mini-item-name {
  font-family: var(--ff-heading);
  font-size: .8125rem;
  font-weight: 600;
  color: var(--ink-700);
  display: block;
  line-height: 1.3;
  transition: color .15s;
}

.mini-item:hover .mini-item-name {
  color: var(--brand-dark);
}

.mini-item-desc {
  font-size: .7rem;
  color: var(--ink-400);
  display: block;
  line-height: 1.45;
  margin-top: .125rem;
  font-family: var(--ff-body);
  transition: color .15s;
}

.mini-item:hover .mini-item-desc {
  color: var(--ink-500);
}

/* Arrow */
.mini-item-arrow {
  width: 12px;
  height: 12px;
  color: var(--ink-300);
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-5px);
  transition: opacity .15s, transform .15s, color .15s;
}

.mini-item:hover .mini-item-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--brand);
}

/* Hide on mobile — mobile uses the existing mob-acc system */
@media (max-width: 768px) {
  .nav-mini-wrap {
    display: none;
  }
}