/* ===== NAVBAR STYLES ===== */
.cx-nav {
  position: relative;
  z-index: 3000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.03);
  padding: 1rem 0;
}

.cx-nav-container {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cx-section-container {
  width: 80%;
  max-width: 1400px;
  margin: 0 auto;
}
.cx-nav--solid {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
}
.cx-logo {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: transform 0.3s ease;
}
.cx-logo:hover {
  transform: translateY(-1px);
}
.cx-logo-cn {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}
.cx-logo-reg {
  font-size: 0.65rem;
  color: var(--accent-color);
  vertical-align: super;
}
.cx-logo-en {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: #1a1a1a;
  letter-spacing: 0.08em;
}
.cx-nav-link {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #111 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0.7rem 0.5rem !important;
  position: relative;
  letter-spacing: 0.02em;
  border-radius: 8px;
  min-height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.cx-nav-link:hover {
  background-color: #97D5D0 !important;
  color: #fff !important;
}
.cx-nav-link.active {
  background-color: #97D5D0 !important;
  color: #fff !important;
  font-weight: 500;
}
.cx-toggler {
  color: #1a1a1a;
  padding: 0.5rem;
  z-index: 1050;
}
.cx-toggler:focus {
  box-shadow: none;
}
.cx-nav,
.cx-nav-container,
.cx-nav .navbar-collapse,
.cx-nav .navbar-nav {
  overflow: visible;
}
.cx-lang-switch {
  position: relative;
}
.cx-lang-switch .dropdown-menu {
  z-index: 2000;
  min-width: 6rem;
  top: 100%;
  right: 0;
  left: auto;
}
.cx-lang-btn {
  min-height: 40px;
  padding: 0.35rem 0.9rem !important;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}
.cx-lang-btn:hover,
.cx-lang-btn:focus {
  border-color: #97D5D0;
}
.cx-lang-switch .dropdown-item {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #111;
  letter-spacing: 0.02em;
}
.cx-lang-switch .dropdown-item:hover,
.cx-lang-switch .dropdown-item:focus {
  background-color: #97D5D0;
  color: #fff;
}

/* Fix mobile nav display */
@media (max-width: 991.98px) {
  .cx-nav-container {
    flex-wrap: wrap;
  }

  .navbar-brand {
    flex: 1;
    margin-right: auto;
  }

  .navbar-toggler {
    margin-left: auto;
  }

  .navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
  }

  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  /* Ensure menu displays correctly */
  .navbar-collapse.show {
    display: block !important;
  }
}

/* ===== BUTTONS ===== */
.cx-btn-primary {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-secondary));
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: 0.7rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  letter-spacing: 0.03em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(151, 213, 208, 0.3);
}
.cx-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--accent-secondary), var(--accent-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(151, 213, 208, 0.4);
}
.cx-btn-primary:disabled { opacity: 0.7; cursor: default; }
.cx-btn-sm { padding: 0.5rem 1.3rem; font-size: 0.85rem; }

/* ===== CSS VARIABLES ===== */
:root {
  --pink:             #97D5D0;
  --pink-light:       #E6F7F6;
  --pink-dark:        #7AC5C0;
  --accent-color:     #97D5D0;
  --accent-secondary: #7AC5C0;
  --cream:            #FFF8F2;
  --dark:             #1A1A1A;
  --muted:            #888;
  --border:           #EDE8E0;
  --radius:           20px;
  --radius-sm:        10px;
}

/* ===== UTILITY CLASSES ===== */
.text-pink { color: var(--pink) !important; }
.bg-pink { background-color: var(--pink) !important; }
.bg-light { background-color: #f8f9fa !important; }